/** EasyWeb开发文档 date:2019-08-29 License By http://easyweb.vip */

* {
    font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
}

body, .sidebar {
    background-color: transparent;
}

/** 更新日志文字样式 */
.sidebar > h1 {
    height: 30px;
    line-height: 30px;
    text-align: left;
    margin-bottom: 0;
    padding-left: 30px;
    font-size: 15px;
    font-weight: 400;
    background-image: url("");
    background-repeat: no-repeat;
    background-size: 14px 15px;
    background-position: 12px 6px;
}

.sidebar > h1 a {
    color: #505d6b;
    display: block;
}

.sidebar > h1:hover {
    background-color: rgba(128, 128, 128, .15);
}

/** //更新日志文字样式 */

/** 侧边栏样式 */
.sidebar ul {
    margin-left: 26px;
}

.sidebar-nav > ul {
    margin-left: 0;
}

.sidebar-nav ul li > a {
    padding-left: 30px;
    font-size: 15px;
    height: 30px;
    line-height: 30px;
    background-image: url("");
    background-repeat: no-repeat;
    background-size: 14px 15px;
    background-position: 12px 6px;
}

.sidebar-nav ul li.collapse > a {
    background-image: url("");
}

.sidebar-nav ul li > a.section-link {
    background-image: none;
}

.sidebar-nav ul li > a:hover {
    background-color: rgba(128, 128, 128, .15);
    text-decoration: none;
}

.app-sub-sidebar li:before {
    display: none;
}

.sidebar ul li.active > a {
    border-right: none;
    font-weight: normal;
}

.sidebar-nav ul > li ul > li > a {
    padding-left: 20px;
    background-position: 5px 6px;
}

/** //侧边栏样式end */

/** 标题样式 */
.markdown-section h1 {
    font-size: 1.85rem;
}

.markdown-section h2 {
    font-size: 1.65rem;
    padding: 15px 0 .8rem;
    margin: 15px 0 0 0;
}

.markdown-section h3 {
    font-size: 1.45rem;
    padding: 10px 0 .8rem;
    margin: 15px 0 0 0;
}

.markdown-section h4 {
    font-size: 1.25rem;
    padding: 10px 0 .8rem;
    margin: 15px 0 0 0;
}

.markdown-section a {
    font-weight: 400;
}

.markdown-section h1, .markdown-section h2, .markdown-section h3, .markdown-section h4, .markdown-section strong {
    color: #34495e;
}

/** //标题样式end */

/** 布局样式 */
.content {
    padding-top: 0;
}

/** //布局样式end */

/** 组件样式 */
.markdown-section blockquote {
    color: #34495e;
    padding: 12px 24px 12px 24px;
    background-color: #f8f8f8;
}

.markdown-section blockquote p {
    font-weight: 400;
    margin: 0;
}

.markdown-section p.tip {
    padding: 12px 24px 12px 24px;
}

.markdown-section ol, .markdown-section p, .markdown-section ul {
    line-height: 1.7rem;
}

.markdown-section > * {
    font-size: 16px;
}

.markdown-section pre {
    padding: 0 0.5rem;
}

.markdown-section th {
    background-color: #f8f8f8;
}

.search input {
    background-color: transparent;
}

/** //组件样式end */

/** 夜间模式 */
.ew-dark .sidebar, body.ew-dark, .ew-dark .medium-zoom-overlay {
    background-color: #191919 !important;
}

body.ew-dark, .ew-dark .sidebar, .ew-dark .search input, .ew-dark .anchor span,
.ew-dark .markdown-section blockquote,
.ew-dark .markdown-section h1, .ew-dark .markdown-section h2, .ew-dark .markdown-section h3,
.ew-dark .markdown-section h4, .ew-dark .markdown-section strong,
.ew-dark .sidebar > h1 a, .ew-dark .sidebar ul li a,
.ew-dark .markdown-section pre > code {
    color: #CCCCCC;
}

.ew-dark .markdown-section blockquote,
.ew-dark .markdown-section code, .ew-dark .markdown-section pre,
.ew-dark .markdown-section p.tip, .ew-dark .markdown-section tr:nth-child(2n),
.ew-dark .markdown-section th,
.ew-dark .markdown-section p.tip code {
    background-color: #232323;
}

.ew-dark .markdown-section td, .ew-dark .markdown-section th,
.ew-dark .search, .ew-dark .sidebar,
.ew-dark .search .matching-post,
.ew-dark .ew-doc-adv-list {
    border-color: #2D2D2D;
}

.ew-dark .sidebar ul li.active > a {
    color: #42b983;
}

.ew-dark .token.punctuation {
    color: #979797;
}

.ew-dark .token.cdata, .ew-dark .token.comment, .ew-dark .token.doctype,
.ew-dark .token.prolog, .ew-dark pre:after {
    color: #656565;
}

.ew-dark .content img {
    filter: brightness(.5);
}

/** //夜间模式end */

/** 滚动条样式美化 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
    background: transparent;
}

::-webkit-scrollbar-track {
    background: transparent !important;
}

::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: hsla(0, 0%, 53%, .4);
}

::-webkit-scrollbar-thumb:hover, .sidebar::-webkit-scrollbar-thumb:hover {
    background-color: hsla(0, 0%, 53%, .3);
}

.sidebar::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

/** //滚动条样式美化end */

/** 提示框样式 */
.ew-tips-auth {
    color: #fff;
    font-size: 14px;
    max-width: 220px;
    padding: 5px 10px;
    background-color: #FF7674;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .15);
    position: fixed;
    top: 15px;
    right: 15px;
    border-radius: 3px;
    z-index: 9999;
}

/** 广告区域 */
.sidebar .sidebar-nav {
    padding-bottom: 0;
}

.sidebar .sidebar-nav > ul {
    min-height: calc(100vh - 211px);
}

.sidebar-toggle {
    top: 8px;
    left: 300px;
    bottom: auto;
    width: 38px !important;
    background-color: transparent !important;
    -webkit-transition: left .25s ease-out 0s;
    transition: left .25s ease-out 0s;
    cursor: pointer;
}

body.close .sidebar-toggle {
    left: 0;
}

@media screen and (max-width: 768px) {
    .sidebar-toggle {
        left: 0;
        padding: 10px;
    }

    body.close .sidebar-toggle {
        left: 300px;
    }
}

/* 广告样式 */
.ew-doc-adv-list {
    margin-top: 20px;
    padding: 10px 16px 0 20px;
    border-top: 1px solid rgba(0, 0, 0, .07);
}

.ew-doc-adv-list .ew-doc-adv-item {
    display: block;
    color: #666;
    border-radius: 6px;
    text-decoration: none;
    overflow: hidden;
    position: relative;
    line-height: initial;
    margin-bottom: 10px;
}

.ew-doc-adv-list .ew-doc-adv-item > img {
    width: 100%;
    height: 70px;
}

/** //广告区域 */

/** 回到顶部 */
.ew-back-top {
    position: fixed;
    right: 15px;
    bottom: 20px;
    width: 45px;
    height: 45px;
    background-image: url("");
    background-size: cover;
    cursor: pointer;
}

/** //回到顶部 */
